import pytest
import json


def get_date():
    with open('test.json') as f:
        lst = []
        data = json.load(f)
        print(data)
        lst.extend(data["keys"])
        print(lst)
        return lst


@pytest.mark.parametrize('name',get_date())
def test(name):
    print(name)



if __name__ == '__main__':
    pytest.main(['-sv','ddt_csv.py'])
    # get_date()